Yay_Currency\Helpers\YayCurrencyHelper D

Total Complexity 206
Dependencies 1
Dependents 63
Total lines 694
Lines of code 566
Logical lines of code 324
Comment lines 10
Methods 52
Properties 2

Methods 52

Method Rating Maintainability Complexity Lines of code
get_apply_currency_meta_data()
A
49 14 26
round_price_by_currency()
A
49 12 27
get_currency_change_switcher()
A
51 10 24
is_reload_permitted()
A
54 10 20
list_ajax_actions_allow()
S
51 7 27
format_currency_code_position()
S
54 7 23
get_rate_fee_from_currency_not_exists_in_list()
S
56 6 17
get_formatted_total_by_convert_currency()
S
56 6 16
disable_fallback_option_in_checkout_page()
S
66 7 7
set_cookies()
S
58 6 14
format_sale_price()
S
61 6 11
format_currency_position()
S
58 5 18
detect_allow_hide_dropdown_currencies()
S
64 6 9
get_default_apply_currency()
S
58 5 15
converted_currency()
S
58 5 15
get_currency_by_currency_code()
S
63 5 10
get_order_currency_by_order_id()
S
63 5 10
checkout_in_fallback_currency()
S
63 5 10
get_id_selected_currency()
S
62 5 10
calculate_price_by_currency()
S
60 4 13
is_dis_checkout_diff_currency()
S
62 4 12
get_currency_code_by_order()
S
64 4 9
get_currency_by_ID()
S
64 4 9
filter_payment_methods_by_currency()
S
59 3 15
get_symbol_by_currency_code()
S
62 3 11
calculate_price_by_currency_html()
S
56 2 17
get_symbol_by_currency()
S
66 3 8
reverse_calculate_price_by_currency()
S
71 3 5
get_apply_currency()
S
63 3 10
is_current_fallback_currency()
S
70 3 6
get_apply_currency_format_info()
S
60 2 13
format_price()
S
64 2 11
format_price_currency()
S
67 2 7
get_current_and_fallback_currency()
S
70 2 6
get_rate_fee_by_order()
S
64 2 10
format_currency_symbol()
S
71 2 5
get_total_by_order()
S
65 2 9
is_wc_json_products()
S
78 2 3
enable_rounding_currency()
S
78 2 3
get_rate_fee()
S
65 2 8
get_cookie_name()
S
72 2 6
get_current_currency()
S
74 2 4
detect_current_currency()
S
72 2 5
get_default_apply_currency_not_exists_post_type()
S
67 2 8
set_cookie_currency_switcher()
S
68 2 7
delete_cookie()
S
69 2 6
get_woocommerce_product_price_hooks()
S
61 1 14
calculate_custom_price_by_currency_html()
S
71 1 5
converted_approximately_html()
S
74 1 4
list_wc_ajax_actions_allow()
S
75 1 4
set_cookie()
S
77 1 3
__construct()
S
98 1 1